package com.scorpio.basic.vo;

import com.scorpio.common.utils.verification.DefaultGroup;

import javax.validation.constraints.NotBlank;

public class OssDatumVo {

    private Long id;

    //资源路径
    @NotBlank(message = "无效资源数据", groups = {DefaultGroup.class})
    private String image;

    //排序
    private Integer sort;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }
}
